package PTA_JAVA.JavaBase.JavaBase01;

public class Main{
    public static void main(String[] args){
        for(int i=0;i<5;i++){
            for(int q=0;q<i;q++){
                System.out.print(" ");
            }
            for(int j=0;j<5-i;j++){
                System.out.print("*");
                if(j<5-i-1){
                    System.out.print(" ");
                }
            }
            System.out.println();
        }
    }
}
